﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Flowers;

namespace Logic
{
    public class Printer
    {
        public void Print(List<AbstractFlowers> A)
        {
            Console.WriteLine("Букет.");
            foreach (AbstractFlowers flower in A)
            {
                Console.WriteLine(flower.Name);
            }
            Counter counter = new Counter();
            double a = counter.Count(A);
            Console.WriteLine("Общая стоимость: " + a);
        }
    }
}
